package common;

public class Constant {
    public static final String KAFKA_BROKERS ="hadoop174:9092,hadoop175:9092,hadoop176:9092";
    public static final String TOPIC_ODS_DB =  "ods_db";
    public static final String TOPIC_ODS_LOG =  "ods_log";


    public static final String PHOENIX_DRIVER = "org.apache.phoenix.jdbc.PhoenixDriver";
    public static final String PHOENIX_URL = "jdbc:phoenix:hadoop174,hadoop175,hadoop176:2181";
    public static final String REDIS_HOST = "hadoop174";
    public static final int REDIS_PORT = 6379;
    public static final String MYSQL_URL ="jdbc:mysql://hadoop174:3306/edu_config?useSSL=false" ;


    //public static final String MYSQL_DRIVER = "com.mysql.jdbc.Driver";
    public static final String MYSQL_DRIVER = "com.mysql.cj.jdbc.Driver";
    public static final int TWO_DAY = 2 * 24 * 60 * 60;
    public static final String CLICKHOUSE_DRIVER = "com.clickhouse.jdbc.ClickHouseDriver";
    public static final String CLICKHOUSE_URL = "jdbc:clickhouse://hadoop174:8123/edu";



    public static final String TOPIC_DWD_TRAFFIC_START = "dwd_traffic_start";
    public static final String TOPIC_DWD_TRAFFIC_DISPLAY = "dwd_traffic_display";
    public static final String TOPIC_DWD_TRAFFIC_ERR = "dwd_traffic_err";
    public static final String TOPIC_DWD_TRAFFIC_ACTION = "dwd_traffic_action";
    public static final String TOPIC_DWD_TRAFFIC_PAGE = "dwd_traffic_page";
    public static final String TOPIC_DWD_EXAM_TEST = "dwd_exam_test";

    public static final String TOPIC_DWD_TRADE_CART_ADD = "dwd_trade_cart_add";
    public static final String TOPIC_DWD_VIDEO_PLAY ="dwd_video_play" ;
    public static final String TOPIC_DWD_TRADE_ORDER_DETAIL ="dwd_trade_order_detail" ;
    public static final String TOPIC_DWD_TRADE_PAY_DETAIL_SUC ="dwd_trade_pay_detail_suc" ;
}
